package com.vae.easternzhejiangbasin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vae.easternzhejiangbasin.domain.entity.User;
import org.apache.ibatis.annotations.MapKey;

import java.util.Map;


/**
 * 用户表(User)表数据库访问层
 *
 * @author makejava
 * @since 2023-03-05 20:39:23
 */
public interface UserMapper extends BaseMapper<User> {

    @MapKey("nick_name")
    Map<String, Map<String, String>> getNickNameAndAvatarByUserId(Long userId);
}

